package com.joe.runaway.config.ai;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "langchain4j.qwen")
@Data
public class LangChain4JQwenConfig {

    private ChatModel          chatModel;
    private StreamingChatModel streamingChatModel;
    private ImageModel         imageModel;

    @Getter
    @Setter
    public static class ChatModel {
        private String  baseUrl;
        private String  apiKey;
        private String  modelName;
        private boolean logRequests;
        private boolean logResponses;
    }

    @Getter
    @Setter
    public static class StreamingChatModel {
        private String  baseUrl;
        private String  apiKey;
        private String  modelName;
        private boolean logRequests;
        private boolean logResponses;
    }

    @Getter
    @Setter
    public static class ImageModel {
        private String baseUrl;
        private String apiKey;
        private String modelName;
    }

}
